﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.ProcurementDomain
{
    /// <summary>
    /// 采购应退款
    /// </summary>
    [SugarTable("ShouldWithdraw")]
    public class ShouldWithdraw : Audit
    {
        /// <summary>
        /// 采购退款id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int ShouldWithdrawId { get; set; }
        /// <summary>
        /// 退款计划编号
        /// </summary>
        public string? SWRefundNumber { get; set; }
        /// <summary>
        /// 供应商id
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 计划退款日期
        /// </summary>
        public DateTime? SWReturnDate { get; set; }
        /// <summary>
        /// 本次计划退款金额
        /// </summary>
        public decimal? SWShouldPrice { get; set; }
        /// <summary>
        /// 已退款金额
        /// </summary>
        public decimal? SWReturnPrice { get; set; }
        /// <summary>
        /// 退款进度状态
        /// </summary>
        public int? SWRefundProgress { get; set; }
        /// <summary>
        /// 人员档案id
        /// </summary>
        public int? ManpowerId { get; set; }
    }
}
